From 34835f69a111ed31bdb4682fe12cda4bf92f2688 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 28 Jul 2005 06:53:34 +0000 Subject: [PATCH] Tighten up types used so we work sensbily on big endian systems. --- gpsbabel/lowranceusr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpsbabel/lowranceusr.c b/gpsbabel/lowranceusr.c index dfac8168c..67af2931a 100644 --- a/gpsbabel/lowranceusr.c +++ b/gpsbabel/lowranceusr.c @@ -141,7 +141,7 @@ static void *mkshort_handle; static unsigned short waypt_out_count; static unsigned int trail_count, lowrance_route_count; static int trail_point_count; -static int continuous = 1; +static char continuous = 1; static short num_section_points; static route_head *trk_head; static route_head *rte_head; @@ -707,7 +707,7 @@ lowranceusr_track_hdr(const route_head *trk) int text_len; char *name, tmp_name[20]; short num_trail_points, max_trail_size; - int visible=1; + char visible=1; ++trail_count; if (trk->rte_name) { @@ -839,7 +839,7 @@ static void lowranceusr_merge_track_tlr(const route_head *trk) { short num_trail_points, max_trail_size; - int visible=1; + char visible=1; if (trail_count == track_count()) /* last trail */ { -- 2.30.2